<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>0819-随机数</title>
    <script>
        window.onload=function()
        {
//            var num=parseInt(Math.random()*36+1,10);
//            alert(num);

            alert(document.body.clientWidth+':'+document.body.clientHeight);
            alert(window.screen.height);
        }
    </script>
</head>
<body>

</body>
</html>